package com.fofia.iotweb.web.domain.dto;


import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.noear.snack.annotation.ONodeAttr;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(value = "SmartTagDto")
public class SmartTagDto implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 运动时长 秒
     */
    @Column(value = "sport")
    @ONodeAttr(name = "sport")
    private int sport;

    /**
     * 运动时长 秒
     */
    @Column(value = "sport_time")
    @ONodeAttr(name = "sport_time")
    private int sportTime;
    /**
     * 剧烈运动时长 秒
     */
    @Column(value = "intense_sport")
    @ONodeAttr(name = "intense_sport")
    private int intenseSport;

    /**
     * 反刍时长 秒
     */
    @Column(value = "ruminate_time")
    @ONodeAttr(name = "ruminate_time")
    private int ruminateTime;

    /**
     * 温度  单位：。01℃
     */
    @Column(value = "temperature")
    private float temperature;
    /**
     * 上传时间
     */
    @Column(value = "upload_time")
    @ONodeAttr(name = "upload_time",format="yyyy-MM-dd HH:mm:ss.SSS")
    private Date uploadTime;

    /**
     * 上传时间
     */
    @Column(value = "upload_time1")
    @ONodeAttr(name = "upload_time1",format="yyyy-MM-dd HH:mm:ss.SSS")
    private Date uploadTime1;

    /**
     * 标签id
     */
    @Column(ignore=true)
    @ONodeAttr(name= "tag_id")
    private String tagId;
}
